#include<iostream>
template <typename AnyType>
void Swap(AnyType &a, AnyType &b);
int main_swap()
{
    int a = 10;
    int b = 20;
    Swap(a, b);
    using namespace std;
    cout << "交换后的值是: a =" << a << " b =" << b << endl;
    return 0;
}

template <typename AnyType>
void Swap(AnyType &a, AnyType &b)
{
    AnyType temp;
    temp = a;
    a = b;
    b = temp;
}

